home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
AMICUS
/
AMICUS14.ADF
/
Progs
/
QueryWB.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-01-28
|
2KB
|
39 lines
/****************************************************************
** **
** Program Name - QueryWB **
** **
** Function - Used in a startup-sequence. Asks if the **
** user wants Workbench loaded. Sets the **
** return to 0 if yes and to 5 if no. **
** **
** Input file - None **
** **
** Output file - None **
** **
** Written by - John Frickson **
** **
** Date Written - 01-Sep-86 **
** **
** Known Bugs - None **
** **
** Maintenance - None **
** **
****************************************************************/
#include "stdio.h"
main ()
{
char c;
printf ("Do you want to load Workbench? ");
c = getchar ();
if (c == 'y' || c == 'Y')
exit (0);
else
exit (5);
}